#include<stdio.h>

int main()
{
	int arr[] = {2,3,1};
	int i, j, temp;
	int n = 3;
	
	for(i = 0; i<3; i++)
	{
		scanf("%d",&arr[i]);
	}
	
	for(i = 0; i < n-1; i++)
	{
		for(j = 0;j < n-1-i; j++)
		{
			if(arr[j]<arr[j+1])
			{
				temp = arr[j];
				arr[j] = arr[j+1];
				arr[j+1] = temp;
			}
			else ;
		}
	}
	
	for(i = 0; i < n; i++)
	{
		printf("%d ",arr[i]);
	}
	
	return 0;
}
